package com.alks.function.data.request.stockdept.pcfactoryquery;

import com.alks.entity.data.page.PageParam;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author MS
 * @since 2024/8/12下午3:56
 */
@Data
public class SurplusStkRequest extends PageParam {

    @ApiModelProperty(value = "物料编码")
    private String mtlNo;

    @JsonDeserialize(using = LocalDateTimeDeserializer.class)
    @ApiModelProperty(value = "入库日期始")
    private LocalDateTime recDateStart;

    @JsonDeserialize(using = LocalDateTimeDeserializer.class)
    @ApiModelProperty(value = "入库日期末")
    private LocalDateTime recDateEnd;

    @JsonDeserialize(using = LocalDateTimeDeserializer.class)
    @ApiModelProperty(value = "发料日期始")
    private LocalDateTime traDateStart;

    @JsonDeserialize(using = LocalDateTimeDeserializer.class)
    @ApiModelProperty(value = "发料日期末")
    private LocalDateTime traDateEnd;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "库位")
    private String stockNo;

    @ApiModelProperty(value = "材料名称")
    private String mtlName;

    @ApiModelProperty(value = "分类")
    private String mtlType;

    @ApiModelProperty(value = "库存（0. 等于0 || 1. 大于0）")
    private Integer stkFlag;

    @ApiModelProperty(value = "排序字段")
    private String orderFile;

    @ApiModelProperty(value = "排序顺序（0. 逆序 || 1. 顺序）")
    private Integer orderType;

}
